﻿#region Usings

using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

#endregion

namespace xConnected.Core.Model
{
    [Serializable]
    [DataContract]
    public class Education : PersistentEntity
    {
        public Education()
        {
            EducationSkills = new List<EducationSkill>();
            TitleTranslations = new List<Translation>();
        }

        [DataMember]
        public string Title { get; set; }

        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public string Key { get; set; }

        [DataMember]
        public virtual IList<EducationSkill> EducationSkills { get; set; }

        [DataMember]
        public virtual IList<Translation> TitleTranslations { get; set; }
    }
}